package prototype;

public class Prototype implements Cloneable{

    @Override
    protected Object clone() throws CloneNotSupportedException {
        Prototype prototype = null;
        try {
            prototype = (Prototype)super.clone();
        }catch (Exception e){
            System.out.println("克隆失败");
        }
        return prototype;
    }
}
